import * as http from '@/http'
import * as api from '@/api/common'

/**
 * 获取 ICON图标
 *
 * @param {Object} [param] 参数
 * @return {Promise<any>}
 */
export const getIcon = (param?: any) => http.get(api.icon, param)

/**
 * 获取验证码
 *
 * @param {Object} [param] 参数
 * @return {Promise<any>}
 */
export const getCaptcha = (param?: any): Promise<any> => http.get(api.captcha, param)
